package me.denger.database2Word.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 数据库连接配置
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ConfigBean {
    /**
     * 驱动
     */
    private String driver;
    /**
     * 连接url
     */
    private String url;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 密码
     */
    private String password;
    /**
     * 文件名
     */
    private String fileName;

    public ConfigBean(String driver, String url, String userName, String password) {
        this.driver = driver;
        this.url = url;
        this.userName = userName;
        this.password = password;
    }

}
